package cn.jieruoda.eb.system.domain.entity;

import java.io.Serializable;
import java.util.Date;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;

import lombok.Data;

/**
 * 门店店员表
 */
@Data
@Entity
@Table(name = "system_store_staff")
public class SystemStoreStaff implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    
    /**
     * 管理员id
     */
    @Column(name = "uid", nullable = false)
    private Integer uid;
    
    /**
     * 店员头像
     */
    @Column(name = "avatar", nullable = false, length = 255)
    private String avatar;
    
    /**
     * 门店id
     */
    @Column(name = "store_id", nullable = false)
    private Integer storeId;
    
    /**
     * 店员名称
     */
    @Column(name = "staff_name", length = 64)
    private String staffName;
    
    /**
     * 手机号码
     */
    @Column(name = "phone", length = 15)
    private String phone;
    
    /**
     * 核销开关
     */
    @Column(name = "verify_status", nullable = false)
    private Integer verifyStatus;
    
    /**
     * 状态
     */
    @Column(name = "status")
    private Integer status;
    
    /**
     * 添加时间
     */
    @Column(name = "create_time", nullable = false)
    private Date createTime;
    
    /**
     * 更新时间
     */
    @Column(name = "update_time", nullable = false)
    private Date updateTime;
} 